﻿using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using System;

namespace Snowy.Data.PostgreSQL
{
    public class NpgsqlModelBuilderOptions : IDataBaseModelBuilderOptions
    {
        public NpgsqlModelBuilderOptions()
        {
        }

        public IInfrastructure<IServiceProvider> Infrastructure { get; set; }

        public void OnModelCreating(ModelBuilder modelBuilder)
        {
          //书写你业务相关的EF配置
        }
    }
}